package fr.vincent7894.feedroid.feed.mediator.impl;

import fr.vincent7894.feedroid.feed.mediator.FeedMediator;

public class BasicFeedMediator<V, T> implements FeedMediator<V, T> {

	private V widget;

	private T task;

	public BasicFeedMediator(V widget, T task) {
		super();
		this.widget = widget;
		this.task = task;
	}

	@Override
	public void init(V widget, T task) {
		this.widget = widget;
		this.task = task;
	}

	@Override
	public V getWidget() {
		return widget;
	}

	@Override
	public T getTask() {
		return task;
	}
}
